package com.sinochem.yunlian.ship.base.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @Auther: wanghui
 * @Dscription: 版本更新
 * @Date: Created in 2017-12-26 10:32
 **/

@Table(name = "bs_version")
@Data
public class BsVersion implements Serializable {

    /**
     * 主键id
     */
    @Id
    private Long id;

    /**
     * app标识
     */
    @Column(name = "app_id")
    private String appId;

    /**
     * app名称
     */
    @Column(name = "app_name")
    private String appName;

    /**
     * 当前版本
     */
    @Column(name = "client_version")
    private String clientVersion;

    /**
     * 下载地址
     */
    @Column(name = "download_url")
    private String downloadUrl;

    /**
     *最新版本号
     */
    @Column(name = "update_id")
    private Integer updateId;

    /**
     *备注
     */
    @Column(name = "remark")
    private String remark;

    /**
     * 升级码 0 不升级 1 强制升级 2 不强制升级
     */
    private Integer type;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

}
